/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mb.config;

/**
 *
 * @author thanh.nguyenchi
 */
public class Constants {
    public static final int INT_MIN_SERVER_CONFIG = 10;
    
    public static final String STR_WEBSERVIES_NAME = "MbWebservices";
    public static final String STR_WEBSERVER_ROOT = "webapp";
    public static final String STR_WEBSERVER_HOMEPAGE = "home.mb";
    public static final String STR_WEBSERVER_DATA = "data";
    public static final String STR_WEBSERVER_FUNCTION_VN = "functionVN.json";
    public static final String STR_WEBSERVER_FUNCTION_EN = "functionEN.json";
    public static final String STR_SQL_DB_NAME = "dbo";
    
    // hash key
    public static final String STR_MEM_CATEGORIES = "categories";
    public static final String STR_MEM_ATM = "atm";
    public static final String STR_MEM_BRANCHES = "branches";
    public static final String STR_MEM_PROMOTIONS = "promotions";
    public static final String STR_MEM_SERVIES = "services";
    public static final String STR_MEM_COMPANIES = "companies";
    public static final String STR_MEM_NEWS = "news";
    
    // mid_fix
    public static final String STR_ID_CODE = "_id_";
    public static final String STR_PAGE_CODE = "_p_";
    
    public static final String STR_TOTAL_ROW = "_rows_";
        
    // category level    
    public static final int INT_MENU_LEVEL_0 =  0;
    public static final int INT_MENU_LEVEL_1 = -1;
    public static final int INT_MENU_LEVEL_2 = -2;
    
    public static final int INT_SERVICE_TYPE = 1;
    public static final int INT_NEWS_TYPE = 2;
    
    public static final int INT_ATM_TYPE = 1;
    public static final int INT_BRANCH_TYPE = 2;
    
    //thread
    public static final String STR_ASYNC_THREAD = "AsyncThread";
    public static final String STR_LOAD_THREAD = "LoadThread";
    public static final String STR_WEBSERVER_THREAD = "WebMainThread";
    
}
